package com.muyu.system.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 商品关注对象 danmo_user_shop
 *
 * @author yangle
 * @date 2024-09-28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoUserShop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关注商品id */
    private Long id;

    /** 商铺id */
    @Excel(name = "商铺id")
    private Long shopId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    private Integer pageNum = 1;
    private Integer pageSize = 10;
//    public void setId(Long id)
//    {
//        this.id = id;
//    }
//
//    public Long getId()
//    {
//        return id;
//    }
//    public void setShopId(Long shopId)
//    {
//        this.shopId = shopId;
//    }
//
//    public Long getShopId()
//    {
//        return shopId;
//    }
//    public void setUserId(Long userId)
//    {
//        this.userId = userId;
//    }
//
//    public Long getUserId()
//    {
//        return userId;
//    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shopId", getShopId())
            .append("userId", getUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
